package com.isoft.airportsystem.entity.dao;

// DTO类，用于接收前端的订阅信息
public class NotificationSubscriptionDTO {
    private String flightId;  // 航班ID
    private String userId;  // 用户ID
    private String notificationType;  // 通知类型
    private String notificationAddress;  // 通知地址

    // getter和setter方法
    public String getFlightId() {
        return flightId;
    }

    public void setFlightId(String flightId) {
        this.flightId = flightId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getNotificationType() {
        return notificationType;
    }

    public void setNotificationType(String notificationType) {
        this.notificationType = notificationType;
    }

    public String getNotificationAddress() {
        return notificationAddress;
    }

    public void setNotificationAddress(String notificationAddress) {
        this.notificationAddress = notificationAddress;
    }
}